import AppService from '../../common/utils/app.service'
//歌手管理
export function getPlayRecordList(params) {
  return AppService.getRequest(`admin/playRecord/list`, {...params})
}
export function getPlayRecordDetail(id) {
    return AppService.getRequest(`admin/playRecord/detail/${id}`)
}
export function addPlayRecord(params) {
    return AppService.postRequest(`admin/playRecord/add`, {...params})
}
export function updatePlayRecord(params) {
    return AppService.postRequest(`admin/playRecord/update/${params.id}`,{...params})
}
export function deletePlayRecord(params) {
    return AppService.postRequest(`admin/playRecord/del/${params.id}`, {...params})
}

